class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("我是线程");
    }
}
public class Main {
    public static void main(String[] args) {
        Thread t = new MyThread();
        t.start();

    }
}
